﻿using Abp.Dependency;
using Abp.Events.Bus.Exceptions;
using Abp.Events.Bus.Handlers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace apbmvc.Web
{

    //abp 异常事件
    public class MyExceptionHandler : IEventHandler<AbpHandledExceptionData>, ITransientDependency
    {
        //所有的异常都会走到这里
        public void HandleEvent(AbpHandledExceptionData eventData)
        {
            var dd = eventData.Exception;



            int mm = 1;


            //TODO: 检查 eventData.Exception!
        }
    }
}